home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 40
/
Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso
/
Aminet
/
comm
/
tcp
/
Amster-main.lha
/
Amster_Install
/
Rexx
/
DelitrackerII.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
2000-10-18
|
936b
|
40 lines
/*
** $VER: DeliTrackerII 1.1 (18.10.2000)
** © 2000 by Jacob Laursen <laursen@myself.com>
**
** Set up your player path below and some of these events in Amster:
**
** Download finished
** Double-clicking library file
** Double-clicking download file
** MP3 player
**
** To play the file immediately:
** Command: RexxC:RX Apps:Comm/Amster/Rexx/DeliTrackerII.rexx PLAY %f
**
** To add the file to the playlist:
** Command: RexxC:RX Apps:Comm/Amster/Rexx/DeliTrackerII.rexx ADD %f
*/
PlayerPath = 'Apps:Sound/Players/DeliTracker_II/DeliTracker2'
/* No user-serviceable parts below */
parse arg mode' 'filename
options results
call pragma('STACK', 16384)
if ~show('P','DELITRACKER') then address command 'Run <>NIL: 'PlayerPath
do while ~show('P','DELITRACKER')
call delay(50)
end
address 'DELITRACKER'
if upper(mode) = 'PLAY' then PLAYMOD filename
else if upper(mode) = 'ADD' then do
APPEND YES
MAKELIST filename
end